projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5e406c
)
(start_of_data): If DATA_START is defined, prefer
author
Ken Raeburn
<raeburn@raeburn.org>
Wed, 24 Jul 2002 02:07:21 +0000
(
02:07
+0000)
committer
Ken Raeburn
<raeburn@raeburn.org>
Wed, 24 Jul 2002 02:07:21 +0000
(
02:07
+0000)
its value over other approaches.
src/mem-limits.h
patch
|
blob
|
history
diff --git
a/src/mem-limits.h
b/src/mem-limits.h
index 1028d7ff5adcf7424378f354bc9ed1760215e6c6..4a8771cf42edde9ae1da76eedeb4b20c3e4641e6 100644
(file)
--- a/
src/mem-limits.h
+++ b/
src/mem-limits.h
@@
-79,12
+79,18
@@
extern POINTER start_of_data ();
#define EXCEEDS_LISP_PTR(ptr) ((EMACS_UINT) (ptr) >> VALBITS)
#endif
+#ifdef DATA_START
+#define start_of_data() ((char *)DATA_START)
+#endif
+
#ifdef BSD_SYSTEM
#ifndef DATA_SEG_BITS
+#ifndef DATA_START
extern char etext;
#define start_of_data() &etext
#endif
#endif
+#endif
#else /* not emacs */
extern char etext;